package com.example.login_demo;

import com.example.login_demo.common.Constant;
import com.example.login_demo.slice.UserLoginAbilitySlice;
import com.example.login_demo.slice.UserRegisterAbilitySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class UserAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(UserLoginAbilitySlice.class.getName());
        super.addActionRoute(Constant.UserLogin_SliceActionName,UserRegisterAbilitySlice.class.getName());
    }
}
